package com.example.aicodehelper.AI;

import dev.langchain4j.service.SystemMessage;
//import dev.langchain4j.service.spring.AiService;

import java.util.List;


//@AiService            // 不建议使用这个注解，缺少灵活性
public interface AiCodeHelperService {

    @SystemMessage(fromResource = "system-prompt.txt")
    String chat(String userMessage);

    @SystemMessage(fromResource = "system-prompt.txt")
    Report chatForReport(String userMessage);

    record Report(String name, List<String> suggestionList) {
    }

    ;

}
